import httpRequest from '@/utils/httpRequest'
import constant from './constant'
export function taskCount (data) {
    return httpRequest({
      url: constant.DR + '/rule/version/task/taskCount',
      method: 'post',
      data: data
    })
  }
  export function interfaceCaseCount (data) {
    return httpRequest({
      url: constant.DR + '/rule/interfaceCase/interfaceCaseCount',
      method: 'post',
      data: data
    })
  }
  export function caseTestCount (data) {
    return httpRequest({
      url: constant.DR + '/rule/interfaceCase/caseTestCount',
      method: 'post',
      data: data
    })
  }
  export function channelList (data) {
    return httpRequest({
      url: constant.DR + '/rule/channel/list',
      method: 'post',
      data: data
    })
  }
  export function channelCount (data) {
    return httpRequest({
      url: constant.DR + '/rule/channel/channelCount',
      method: 'post',
      data: data
    })
  }
